<template>
  <div>

    <component :is="path"></component>


  </div>
</template>

<script>
import { HiPage } from "hi-ui";
import viewBase from "../base";
import withdraw from "@/views/finance/withdraw/detail.vue";
import { utils } from "hi-ui";
let _components = {
    "finance/withdraw/detail": withdraw,
  },
  components = {};
for (let key in _components) {
  components["c" + utils.string.md5(key)] = _components[key];
}

export default {
  
  name: "flow",
  componentName: "flowpage",
  //extends:viewBase,
  mixins: [viewBase],
  components: components,
  model: {
    prop: "value",
    event: "valuechange",
  },
  data() {
    return {
      cmp:components
    };
  },

  computed: {
    path() {
 
      let pcform = (this.flowinfo || {}).pcform;
      if (!pcform) return "div";
      debugger
      return "c" + utils.string.md5(pcform);
    },
  },
  watch: {},
  mounted() {},
  methods: {
   
    closepage() {
       this.close();
    },
  },
};
</script>
